|
boost12 2.2.0
|
Boost 12 Click example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Boost 12 Click example.
This example demonstrates the use of the Boost 12 Click board, changing the output voltage by generating a PWM signal whose duty cycle is gradually increased and decreased between 10% and 100%.
The demo application is composed of two sections :
Initializes the logger and Boost 12 Click driver and applies the default configuration.
Adjusts the PWM duty cycle in 1% steps, logs the current value, and smoothly oscillates the duty between minimum and maximum levels.
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |